package com.msa.msaportal.service.impl;
import com.msa.msaportal.dao.IFooterDao;
import com.msa.msaportal.entity.Portalfooter;
import com.msa.msaportal.service.IFooterService;

public class FooterSvImpl implements IFooterService {
	  private  IFooterDao footerDao;
	  		
		@Override
		public void addFooter(Portalfooter footer) throws Exception {
			footerDao.addFooter(footer);
			
		}
		
		@Override
		public void delete(String footerId) {
			
			footerDao.delete(footerId);
		}
			
		
		
		
	public IFooterDao getFooterDao() {
		return footerDao;
	}

	public void setFooterDao(IFooterDao footerDao) {
		this.footerDao = footerDao;
	}

	@Override
	public Portalfooter find(String footerId) {
		Portalfooter footer = footerDao.find(footerId);
		return footer;
	}

	@Override
	public void update(Portalfooter footer) {
		// TODO Auto-generated method stub
		footerDao.update(footer);
		
	}





}
